package com.team7.home.test;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @program: team7-object-master
 * @description:
 * @author: 王金涛
 * @create: 2021-10-18 21:23
 **/

@Data
@TableName("edu_subject")
public class Subject {

    private String id;
    private String title;
    private String parentId;
    private Integer statusId;
    private String remark;
    private Integer sort;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

    @TableField(exist = false)
    private List<Subject> parent;

}
